package com.ruoyi.products.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 商品品类对象 products_category
 * 
 * @author ruoyi
 * @date 2022-04-06
 */
public class ProductsCategory extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 品类名 */
    @Excel(name = "品类名")
    private String category;

    /** 执行标准 */
    @Excel(name = "执行标准")
    private String standard;

    /** 安全标准 */
    @Excel(name = "安全标准")
    private String safeStandard;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setStandard(String standard) 
    {
        this.standard = standard;
    }

    public String getStandard() 
    {
        return standard;
    }
    public void setSafeStandard(String safeStandard) 
    {
        this.safeStandard = safeStandard;
    }

    public String getSafeStandard() 
    {
        return safeStandard;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("category", getCategory())
            .append("standard", getStandard())
            .append("safeStandard", getSafeStandard())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
